<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>    
    <?php
    $setting =$this->common_model->getone('setting',array('id'=>1));  
    if(empty($title)){
        $title = $setting->title;
    } 
    if(empty($metakey)){
        $metakey = $setting->metakey;
    }
    if(empty($metades)){
        $metades = $setting->metades;
    }
    ?>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
		<meta name="keywords" content="<?php if(!empty($metakey))echo $metakey;?>" />
		<meta name="description" content="<?php if(!empty($metades))echo $metades;?>" />
		<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>skin/css/reset.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>skin/css/style.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>skin/css/slide-style.css" />
		<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>skin/css/style-anny.css" />
		<script type="text/javascript" src="<?php echo base_url();?>skin/js/jquery-1.8.3.min.js"></script>
		<script type="text/javascript" src="<?php echo base_url();?>skin/js/scripts.js"></script>
		<script type="text/javascript" src="<?php echo base_url();?>skin/js/ie6.js"></script>
        
		<title> <?php if(!empty($title))echo $title;?> </title>
	</head>	
	<body>
	<script>
	
	</script>
		<div id="mainmenu-top" class="wrap">
			<div id="mainmenu-top-inner" class="clearfix">            
				<div id="menu-top">
                <?php $this->load->controller('mod_menu/index',array());?>					
				</div>
			</div>
		</div>
		<div id="wrapper">
			<div id="wrapper-inner">
				<div id="header" class="wrap" >
					<div id="header-inner" class="clearfix">
						<div class="logo fLeft">
							<img alt="" src="<?php echo base_url();?>skin/images/LOGO3.png"/>	
						</div><!--end logo-->
						
						<div class="main-option fRight">
							<div class="box-option-top clearfix">
								<div class="name-company fLeft">
									<p>
										<img alt="" src="<?php echo base_url();?>skin/images/name_baoviet_company.png"/>
									</p>
								</div>
								
								<div class="option-customer fRight">
									<ul class="clearfix">
										<li>
											<a class="cus-user login-window" title="" href="<?php echo base_url()?>users">Tài khoản</a>
										</li>
										<li>
											<a class="shop-cart" title="" href="<?php echo base_url()?>cart">Giỏ hàng</a>
										</li>
									</ul>
								</div>
							</div><!--end option top-->	
							
							<div class="box-option-bottom clearfix">
								<div class="menu-search fLeft">
									<div class="box-search">
										<div class="box-search-inner">
											<div class="clearfix">
                                            <form method="POST" action="<?php echo base_url();?>tim-kiem.html">                                            
												<input class="text-search" name="key" title="Nhập từ khóa cần tìm kiếm..." type="text"  value=""/>
											    <input class="sub-search" name="subsearch"  type="submit" value="" />
											</form>
                                            </div>
										</div>
									</div>								
								</div><!--end menu-search-->
								<div class="menu-support fLeft">
									<ul class="clearfix">
										<li>
												<span >Hỗ trợ 1:<span>
												<a href="ymsgr:sendim?<?php echo $setting->yahoo;?>&amp;m=Xin chào"><img class="img-yahoo"  src="http://opi.yahoo.com/online?u=<?php echo $setting->yahoo;?>&amp;m=g&amp;t=2"/></a>
										</li>
										<li>
												<span>Hỗ trợ 2:<span>
												<a href="ymsgr:sendim?<?php echo $setting->yahoo1;?>&amp;m=Xin chào"><img class="img-yahoo"  src="http://opi.yahoo.com/online?u=<?php echo $setting->yahoo1;?>&amp;m=g&amp;t=2"/></a>
										</li>
										<li>
											<p>Hotline: <span class="text-support"><?php echo $setting->phone;?></span></p>
										</li>
									</ul>
								</div><!-- end menu-support-->
							</div><!--end option bottom-->
						</div><!-- end option -->
					</div>
				</div><!-- end header-->
				
				<div id="main-menu" class="wrap">
					<?php $this->load->controller('mod_categories/index',array());?>
				</div><!-- end main-menu -->
                <!-- breadcrumb-->
                
                <?php if(!empty($breadcrumbs)){
                    echo '<div class="wrap breadcrumb">';
                    echo $breadcrumbs; 
                    echo '</div>';
                }?>
                
				<!--slideshow-->
                <?php
                if(!empty($slideshow)){
                    echo $slideshow;
                }
                ?>
				<!-- end slide-shows-->
				<!-- container-->
                <div id="container" class="wrap">
					<div class="clearfix">
        				<?php
                        if(!empty($content)){
                            echo $content;
                        }
                        ?>
                        
                        <!--end container -->
				        <div class="other-functions">
							<div class="clearfix">
								<div class="box-functions">
									<ul class="clearfix">
										<li>
											<p class="pic-1">
												<span class="item-hv">Vận chuyển nhanh chóng</span>
												<span>Đơn đặt hàng đầu trong 24h</span>
											</p>
										</li>
										<li>
											<p class="pic-2">
												<span class="item-hv">Hoàn trả lại chi phí trong 30 ngày</span>
												<span>Đơn đặt hàng đầu trong 24h</span>
											</p>
										</li>
										<li>
											<p class="pic-3">
												<span class="item-hv">Nhận xét của khách hàng</span>
												<span>Đơn đặt hàng đầu trong 24h</span>
											</p>
										</li>
										<li>
											<p class="pic-4">
												<span class="item-hv">1 năm full bảo hành</span>
												<span>Đơn đặt hàng đầu trong 24h</span>
											</p>
										</li>
									</ul>
								</div>
								<div class="content-function">
									<p>
                                    As a recognized market leader in security&surveillance solutions, HomeSecurity361 offers affordable professional grade home security systems, security cameras , video surveillance systems, wireless security systems , and digital video recorders to consumers, home owners and businesses of all sizes. 
                                    </p>
								</div>
							</div>
						</div><!-- end other-functions  -->
						<div class="mainmenu-bottom">
							<div class="clearfix">
                            <?php $this->load->controller('mod_menu/menu_bot',array());?>
							</div>
						</div><!--end mainmenu-bottom -->
					

				    </div>
				</div>
				<div id="footer" class="wrap">
					<div class="footer-inner clearfix">
						<div class="logo-footer fLeft">
							<img alt="" src="<?php echo base_url();?>skin/images/LOGO3.png"/>	
						</div>
						<div class="address-footer fRight">
						<?php 
                        echo $setting->footer;
                        echo $setting->google;
                        ?>
						</div>
					</div>
					
				</div><!--end footer-->
				
			</div><!-- end wrapper-inner -->
		</div>
	</body>
</html>